package com.ruoyi.project.yf.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 我的股票对象 yf_stock_my
 * 
 * @author 云峰
 * @date 2020-06-15
 */
public class YfStockMy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 股票编号 */
    @Excel(name = "股票编号")
    private Long stockId;

    /** 红线提醒 */
    @Excel(name = "红线提醒")
    private Integer remindRed;

    /** 绿线提醒 */
    @Excel(name = "绿线提醒")
    private Integer remindGreen;

    /** 生命线提醒 */
    @Excel(name = "生命线提醒")
    private Integer remindLife;

    /** 上轨提醒 */
    @Excel(name = "上轨提醒")
    private Integer remindUpper;

    /** 下轨提醒 */
    @Excel(name = "下轨提醒")
    private Integer remindLower;

    /** 状态（0正常 1暂停） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=暂停")
    private String status;

    /** 创建人 */
    private Long createUid;

    /** 最后修改人 */
    private Long updateUid;

    private Float cost;

    /** 股票分类（1持仓 2观察） */
    @Excel(name = "股票分类", readConverterExp = "1=持仓,2=观察")
    private String stockType;


    public void setStockType(String stockType)
    {
        this.stockType = stockType;
    }

    public String getStockType()
    {
        return stockType;
    }



    public Float getCost() {
        return cost;
    }

    public void setCost(Float cost) {
        this.cost = cost;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setStockId(Long stockId) 
    {
        this.stockId = stockId;
    }

    public Long getStockId() 
    {
        return stockId;
    }
    public void setRemindRed(Integer remindRed) 
    {
        this.remindRed = remindRed;
    }

    public Integer getRemindRed() 
    {
        return remindRed;
    }
    public void setRemindGreen(Integer remindGreen) 
    {
        this.remindGreen = remindGreen;
    }

    public Integer getRemindGreen() 
    {
        return remindGreen;
    }
    public void setRemindLife(Integer remindLife) 
    {
        this.remindLife = remindLife;
    }

    public Integer getRemindLife() 
    {
        return remindLife;
    }
    public void setRemindUpper(Integer remindUpper) 
    {
        this.remindUpper = remindUpper;
    }

    public Integer getRemindUpper() 
    {
        return remindUpper;
    }
    public void setRemindLower(Integer remindLower) 
    {
        this.remindLower = remindLower;
    }

    public Integer getRemindLower() 
    {
        return remindLower;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateUid(Long createUid) 
    {
        this.createUid = createUid;
    }

    public Long getCreateUid() 
    {
        return createUid;
    }
    public void setUpdateUid(Long updateUid) 
    {
        this.updateUid = updateUid;
    }

    public Long getUpdateUid() 
    {
        return updateUid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("stockId", getStockId())
            .append("remindRed", getRemindRed())
            .append("remindGreen", getRemindGreen())
            .append("remindLife", getRemindLife())
            .append("remindUpper", getRemindUpper())
            .append("remindLower", getRemindLower())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createUid", getCreateUid())
            .append("updateUid", getUpdateUid())
            .toString();
    }
}
